.md-diagram-panel .plugin-fence-markmap-svg {
    line-height: initial !important;
}

#plugin-markmap {
    position: fixed;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .5);
    background-color: #f8f8f8;
    display: none;
    transition: all 0.2s ease 0s;
}

.plugin-markmap-wrap {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
}

.plugin-markmap-grip {
    display: none;
    background-color: var(--active-file-border-color, black);
}

.plugin-markmap-grip::before {
    content: "";
    display: block;
    margin: auto;
}

.plugin-markmap-grip.grip-up {
    padding: 4px 0;
    cursor: row-resize;
}

.plugin-markmap-grip.grip-up::before {
    width: 24px;
    border-top: 3px double var(--active-file-bg-color);
}

.plugin-markmap-grip.grip-right {
    padding: 0 4px;
    cursor: col-resize;
}

.plugin-markmap-grip.grip-right::before {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 24px;
    border-left: 3px double var(--active-file-bg-color);
}

${icon_wrap}
${node_hover}

.plugin-markmap-header {
    margin: 0 0.5em;
    padding-top: 0.1em;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.plugin-markmap-icon {
    cursor: pointer;
    font-size: 1.2em;
    opacity: 0.5;
}

.plugin-markmap-icon:hover {
    opacity: 1;
}

.plugin-markmap-icon[action="resize"] {
    position: absolute;
    bottom: 0.1em;
    right: 0.4em;
}

#plugin-markmap-svg {
    flex: 1;
    line-height: initial;
}